<%= render "navbar"%>

<div class="register_header">
  <div class="container register_title">
    <h1>用户注册</h1>
    <h2>USER REGISTRATION</h2>
  </div>
  <div class="container">
    <h3 class="reg_nav pull-left"><a class="active" href="/register">学员注册</a><a href="/org_register">机构注册</a></h3>
    <h3 class="login_nav pull-right">已有账号？直接<a class="login" href="/login">登陆</a></h3>
  </div>
</div>

<div class="container">
  <div class="row">
    <div class="col-md-6 col-xs-12 submit_register_section">
      <form class="form-horizontal">
        <div class="form-group">
          <label for="phone" class="col-sm-3 control-label">手机号码</label>
          <div class="col-sm-6">
            <input type="tel" class="form-control" name="phone">
          </div>
        </div>
        <div class="form-group">
          <label for="password" class="col-sm-3 control-label">密码</label>
          <div class="col-sm-6">
            <input type="password" class="form-control" name="password">
          </div>
        </div>
        <div class="form-group">
          <label for="confirm_password" class="col-sm-3 control-label">确认密码</label>
          <div class="col-sm-6">
            <input type="password" class="form-control" name="confirm_password"> 
          </div>
        </div>
        <div class="form-group">
          <label for="verify_code" class="col-sm-3 control-label">验证码</label>
          <div class="col-sm-6">
            <input type="text" class="form-control" name="verify_code"> 
          </div>
          <div class="col-sm-3 verify_code_btn">获取验证码</div>
        </div>
        <div class="form-group">
          <div class="col-sm-offset-3 col-sm-6">
            <input type="checkbox" name="accept" id="accept"><label class="accept_label" for="accept">&nbsp;我已阅读并同意西瓜校园网用户协议</label>
          </div>
        </div>
        <div class="form-group">
          <div class="col-sm-offset-3 col-sm-8">
            <button type="submit" class="btn btn-default">注册</button>
          </div>
        </div>
      </form>
    </div>
  </div>
</div>
